package com.beamfield.dao.sys;

import com.beamfield.model.ModelInfo;
import com.beamfield.model.ModelInfoExample;
import java.util.List;

import com.beamfield.modelVo.ModelInfoVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

@Component
public interface ModelInfoMapper {
    int countByExample(ModelInfoExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(ModelInfo record);

    int insertSelective(ModelInfo record);

    List<ModelInfo> selectByExample(ModelInfoExample example);

    ModelInfo selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(ModelInfo record);

    int updateByPrimaryKey(ModelInfo record);

	ModelInfo selectByName(@Param("modelname")String modelname);

    List<ModelInfoVo> selectByRoleId(@Param("roleId") String roleId, @Param("exceptModelId") String exceptModelId, @Param("platform") String platform);
}
